using SqlSugar;
using IM.Easy.Core.Audit;

namespace IM.Easy.Entity.System
{
    /// <summary>
    /// SVG图标管理表
    /// </summary>
    [SugarTable("SvgIcons")]
    public class SvgIcons : AuditSnowflakeEntity
    {

        /// <summary>
        /// 图标名称，作为唯一标识
        /// </summary>
        [SugarColumn(ColumnName = "IconName", Length = 64)]
        public string IconName { get; set; }

        /// <summary>
        /// 图标标识码
        /// </summary>
        [SugarColumn(ColumnName = "IconCode", Length = 64)]
        public string? IconCode { get; set; }

        /// <summary>
        /// 存储图标的SVG代码
        /// </summary>
        [SugarColumn(ColumnName = "SvgCode", ColumnDataType = "text")]
        public string SvgCode { get; set; }

        /// <summary>
        /// 图标所属分类，可选
        /// </summary>
        [SugarColumn(ColumnName = "IconCategory")]
        public string? IconCategory { get; set; }

    }
}
